package com.ffs.game.scene.obj.ai;

import com.ffs.game.common.entity.Vector2f;
import com.ffs.game.scene.GameScene;
import com.ffs.game.scene.obj.Monster;

/**
 * 移动管理
 *
 * @author ffs80
 */
public class MoveManager {

    private static final MoveManager INSTANCE = new MoveManager();

    public static MoveManager getInstance() {
        return INSTANCE;
    }

    /**
     * TODO:移动检测，边界判断
     */
    public void move(GameScene screen, Monster monster) {
        Vector2f nextVector2f = monster.getNextVector2f();
        monster.move(nextVector2f);
    }
}
